package cn.pegasus.teamwork.pegasus.entity;

import java.io.Serializable;
import java.util.Date;

/**
TABLE:.buss_user_info           
--------------------------------------------------------
id                   Integer(10)        NOTNULL             //主键
user_name            String(50)         NOTNULL             //账号名称
user_password        String(200)                            //用户密码
user_paypwd          String(200)                            //支付密码
user_code            String(64)                             //用户code
user_realname        String(50)         NOTNULL             //真实姓名
user_mobile          String(25)                             //手机号码
user_email           String(100)                            //邮箱
user_two_bar_codes   String(400)                            //用户二维码地址
user_nick            String(200)                            //用户昵称
user_images          String(400)                            //头像
user_from            Integer(10)        NOTNULL  1          //来源类型 1：公众号 2：app注册 3：第三方登录
user_status          Integer(10)        NOTNULL  1          //用户状态 1:无效 2：有效 
create_time          Date(19)                    CURRENT_TIMESTAMP //创建时间
update_time          Date(19)                               //修改时间
*/
public class BussUserInfo implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private	Integer id;
	private	String userName;
	private	String userPassword;
	private	String userPaypwd;
	private	String userCode;
	private	String userRealname;
	private	String userMobile;
	private	String userEmail;
	private	String userTwoBarCodes;
	private	String userNick;
	private	String userImages;
	private	Integer userFrom;
	private	Integer userStatus;
	private	Date createTime;
	private	Date updateTime;
	
	private	String wxUuid; //微信登录UUID
	private	String wxOpenid; // 微信登录openid
		
	/********************************************************************/
	private Long balance; //总金额
	private Long rechargeBalance; //总收入金额
	private Long giveBalance;  //赠送金额
	private Long rewardBalance; //总支出金额
	private Long cashBalance; // 可提现金额
	private Long availableBalance;//可用金额
	
	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public Integer getId(){
		return id;
	}
	
	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public void setId(Integer id){
		this.id = id;
	}
	
	/**
	* user_name  String(50)  NOTNULL  //账号名称    
	*/
	public String getUserName(){
		return userName;
	}
	
	/**
	* user_name  String(50)  NOTNULL  //账号名称    
	*/
	public void setUserName(String userName){
		this.userName = userName;
	}
	
	/**
	* user_password  String(200)  //用户密码    
	*/
	public String getUserPassword(){
		return userPassword;
	}
	
	/**
	* user_password  String(200)  //用户密码    
	*/
	public void setUserPassword(String userPassword){
		this.userPassword = userPassword;
	}
	
	/**
	* user_paypwd  String(200)  //支付密码    
	*/
	public String getUserPaypwd(){
		return userPaypwd;
	}
	
	/**
	* user_paypwd  String(200)  //支付密码    
	*/
	public void setUserPaypwd(String userPaypwd){
		this.userPaypwd = userPaypwd;
	}
	
	/**
	* user_code  String(64)  //用户code    
	*/
	public String getUserCode(){
		return userCode;
	}
	
	/**
	* user_code  String(64)  //用户code    
	*/
	public void setUserCode(String userCode){
		this.userCode = userCode;
	}
	
	/**
	* user_realname  String(50)  NOTNULL  //真实姓名    
	*/
	public String getUserRealname(){
		return userRealname;
	}
	
	/**
	* user_realname  String(50)  NOTNULL  //真实姓名    
	*/
	public void setUserRealname(String userRealname){
		this.userRealname = userRealname;
	}
	
	/**
	* user_mobile  String(25)  //手机号码    
	*/
	public String getUserMobile(){
		return userMobile;
	}
	
	/**
	* user_mobile  String(25)  //手机号码    
	*/
	public void setUserMobile(String userMobile){
		this.userMobile = userMobile;
	}
	
	/**
	* user_email  String(100)  //邮箱    
	*/
	public String getUserEmail(){
		return userEmail;
	}
	
	/**
	* user_email  String(100)  //邮箱    
	*/
	public void setUserEmail(String userEmail){
		this.userEmail = userEmail;
	}
	
	/**
	* user_two_bar_codes  String(400)  //用户二维码地址    
	*/
	public String getUserTwoBarCodes(){
		return userTwoBarCodes;
	}
	
	/**
	* user_two_bar_codes  String(400)  //用户二维码地址    
	*/
	public void setUserTwoBarCodes(String userTwoBarCodes){
		this.userTwoBarCodes = userTwoBarCodes;
	}
	
	/**
	* user_nick  String(200)  //用户昵称    
	*/
	public String getUserNick(){
		return userNick;
	}
	
	/**
	* user_nick  String(200)  //用户昵称    
	*/
	public void setUserNick(String userNick){
		this.userNick = userNick;
	}
	
	/**
	* user_images  String(400)  //头像    
	*/
	public String getUserImages(){
		return userImages;
	}
	
	/**
	* user_images  String(400)  //头像    
	*/
	public void setUserImages(String userImages){
		this.userImages = userImages;
	}
	
	/**
	* user_from  Integer(10)  NOTNULL  1  //来源类型  1：公众号  2：app注册  3：第三方登录    
	*/
	public Integer getUserFrom(){
		return userFrom;
	}
	
	/**
	* user_from  Integer(10)  NOTNULL  1  //来源类型  1：公众号  2：app注册  3：第三方登录    
	*/
	public void setUserFrom(Integer userFrom){
		this.userFrom = userFrom;
	}
	
	/**
	* user_status  Integer(10)  NOTNULL  1  //用户状态  1:无效  2：有效    
	*/
	public Integer getUserStatus(){
		return userStatus;
	}
	
	/**
	* user_status  Integer(10)  NOTNULL  1  //用户状态  1:无效  2：有效    
	*/
	public void setUserStatus(Integer userStatus){
		this.userStatus = userStatus;
	}
	
	/**
	* create_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public Date getCreateTime(){
		return createTime;
	}
	
	/**
	* create_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	/**
	* update_time  Date(19)  //修改时间    
	*/
	public Date getUpdateTime(){
		return updateTime;
	}
	
	/**
	* update_time  Date(19)  //修改时间    
	*/
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}


	public Long getBalance() {
		return balance;
	}

	public void setBalance(Long balance) {
		this.balance = balance;
	}

	public Long getRechargeBalance() {
		return rechargeBalance;
	}

	public void setRechargeBalance(Long rechargeBalance) {
		this.rechargeBalance = rechargeBalance;
	}

	public Long getGiveBalance() {
		return giveBalance;
	}

	public void setGiveBalance(Long giveBalance) {
		this.giveBalance = giveBalance;
	}

	public Long getRewardBalance() {
		return rewardBalance;
	}

	public void setRewardBalance(Long rewardBalance) {
		this.rewardBalance = rewardBalance;
	}

	public Long getCashBalance() {
		return cashBalance;
	}

	public void setCashBalance(Long cashBalance) {
		this.cashBalance = cashBalance;
	}

	public Long getAvailableBalance() {
		return availableBalance;
	}

	public void setAvailableBalance(Long availableBalance) {
		this.availableBalance = availableBalance;
	}

	/**
	 * @return the wxUuid
	 */
	public String getWxUuid() {
		return wxUuid;
	}

	/**
	 * @param wxUuid the wxUuid to set
	 */
	public void setWxUuid(String wxUuid) {
		this.wxUuid = wxUuid;
	}

	/**
	 * @return the wxOpenid
	 */
	public String getWxOpenid() {
		return wxOpenid;
	}

	/**
	 * @param wxOpenid the wxOpenid to set
	 */
	public void setWxOpenid(String wxOpenid) {
		this.wxOpenid = wxOpenid;
	}
}